package cn.cs.service;

import cn.cs.common.Dto;
import cn.cs.common.Page;
import cn.cs.pojo.AfterOrder;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface AfterOrderService {
    Dto getAllAfterOrder(HttpServletRequest request);

    Dto confirm(HttpServletRequest request) throws Exception;

    Dto readShMsg(HttpServletRequest request);



    public List<Map<String, Object>> getAfterOrderByUserIdAndOrderId(String orderId, String userId) throws Exception;

    public List<Map<String, Object>> getAfterOrderByUserId(String orderId, String userId, String id) throws Exception;

    public Integer addAfterOrder(AfterOrder afterOrder) throws Exception;

    public Integer modifyAfterOrder(AfterOrder afterOrder) throws Exception;

    public Page<Map<String, Object>> queryAfterOrderPageByMap(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    public Page<Map<String, Object>> getAfterOrderAllListPage(Map<String, Object> param, Integer pageNo, Integer pageSize) throws Exception;

    public AfterOrder getAfterOrderByOrderIdOne(String orderId) throws Exception;
}
